<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		var arr=[1,2,3,4,5,6];
		function Unshift(arr,num1){
			var arr1=[num1];
			for(var i=0;i<arr.length;i++){
				arr1.push(arr[i]);
			}
			console.log(arr1);	
		}
		Unshift(arr,'haha');
	</script>
</head>
<body>
	
</body>
</html>